/**
 * 
 */
package com.epam.dao;

import java.util.List;

import com.epam.entity.AbstractEntity;

/**
 * @author Nugumanova V.
 *
 */
public interface AbstractEntityDao<T extends AbstractEntity> {

	public T selectById(long id);

	public List<T> selectAll();

	public void saveOrUpdate(T entity);	
	

	public boolean delete(long id);
	
	public int insert(long id);
	
}

